package com.ailesson.video.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;
import com.ailesson.common.base.BaseEntity;

/**
 * 评论
 * 
 * @author mac
 * @email mac@gmail.com
 * @date 2024-10-02 10:30:59
 */
@Data
@TableName("ail_comment")
public class CommentEntity extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
    @TableId
    private Long id;
	/**
	 * 课程id
	 */
    private Long courseId;
	/**
	 * 讲师id
	 */
    private Long teacherId;
	/**
	 * 会员id
	 */
    private Long userId;
	/**
	 * 会员昵称
	 */
    private String nickname;
	/**
	 * 会员头像
	 */
    private String avatar;
	/**
	 * 评论内容
	 */
    private String content;

}
